package com.lincoln.redis.server.bean;

import lombok.Getter;
import lombok.Setter;

/**
 * 用异常做结果返回到前台
 *
 * @author admin
 */
public class ReturnApiException extends Exception {
    @Getter
    @Setter
    Object data;

    public ReturnApiException(Object data) {
        this.data = data;
    }
}
